LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

#include /root/project/OpenCV-2.2/android/build/android-opencv.mk
include /opt/workby/OpenCV-2.2.0/android/build/android-opencv.mk

OPENCV_ROOT_TXL := /usr/local/opencv2.2/include

#LOCAL_LDLIBS += $(OPENCV_LIBS) $(ANDROID_OPENCV_LIBS) -llog -lGLESv2
#LOCAL_LDLIBS += $(ANDROID_OPENCV_LIBS) -llog -lGLESv2
#LOCAL_STATIC_LIBRARIES := libopencv_features2d  libopencv_calib3d libopencv_imgproc libopencv_objdetect  \
     libopencv_video  libopencv_highgui libopencv_ml libopencv_legacy libopencv_core libopencv_lapack libopencv_flann \
    libzlib libpng libjpeg libjasper

LOCAL_LDLIBS += $(OPENCV_LIBS) -llog -lGLESv2
LOCAL_C_INCLUDES +=  $(OPENCV_INCLUDES) $(ANDROID_OPENCV_INCLUDES) $(OPENCV_ROOT_TXL)/opencv $(OPENCV_ROOT_TXL)/opencv2

LOCAL_MODULE    := calTrackRange
LOCAL_SRC_FILES := NativeImpl.c

include $(BUILD_SHARED_LIBRARY)
